package com.kingwang.training.designpattern.exam.bo.event;

import com.kingwang.training.designpattern.exam.bo.Task;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 工单创建事件
 *
 * @author King
 */
@Data
@AllArgsConstructor
public class TaskCreatedEvent implements Event {
    private final Task task;

    private final LocalDateTime eventTriggered;
}
